'''跟着游戏的统计信息'''

class Game_stats():
    def __init__(self,alien_set):
        self.alien_set = alien_set
        self.ship_left = self.alien_set.ship_limit
        self.game_active = False
    def reset_stats(self):
        self.ship_left = self.alien_set.ship_limit
        
    def is_game_over(self):
        return self.ship_left<=0
